House all native build output in a per-package dir
authorAlex Crichton <alex@alexcrichton.com>
Fri, 18 Jul 2014 03:50:16 +0000 (20:50 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Sat, 19 Jul 2014 01:04:47 +0000 (18:04 -0700)
commitc2b23512d55424fa7b695b6160539937a5e31121
tree7447ac1385b5a5f658208e33fecd340b44542105
parent9f5d9b816628ed7d21f17f2b5d9537ecbecab216
House all native build output in a per-package dir

In order to ensure there are no stale artifacts as part of a build, this commit
houses all output of native build commands in their own directories. Each
directory is on a per-package basis, and the output is preserved if the package
is fresh or discarded if it is not.

This does not remove the DEPS_DIR environment variable, it just wires it to the
same value as OUT_DIR.
src/cargo/ops/cargo_rustc/context.rs
src/cargo/ops/cargo_rustc/fingerprint.rs
src/cargo/ops/cargo_rustc/layout.rs
src/cargo/ops/cargo_rustc/mod.rs
tests/test_cargo_compile.rs